BuildMaster SDK Reference
Version:

CopyTo(byte[] buffer, int offset) Method

Copies all of the data in the SlimMemoryStream to a byte array.

Syntax

public void CopyTo(byte[] buffer, int offset)

Parameters

buffer
Type: byte[]

Array into which the data will be copied.

offset
Type: int

Initial offset in buffer to start writing bytes.

Exceptions

System.ObjectDisposedException

Methods were called after the stream was closed.